#   exerc1.py 输入若干个体重，输出比平均体重更重的那些体重

#   计算平均数
def mean(n):
    sum = 0
    for i in n:
        sum += i
    average = sum / len(n)
    return average

#打印大于平均体重的体重
def printOverweight(average):
    for i in n:
        if i > average:
            print(i, end=" ")
        else:
            continue


if __name__ == '__main__':
    n = eval(input("请输入小朋友的体重(kg)："))
    average = mean(n)
    printOverweight(average)
